Skip to content

Conversation

@tsmithsz
Copy link
Contributor

@tsmithsz tsmithsz commented Aug 12, 2025

Problem

The prerelease workflow is configured to run on branches matching release/*. The RC creation workflow previously created branches like rc-YYYYMMDD instead of release/rc-YYMMDD, which did not match the trigger pattern, meaning the prerelease workflow was never invoked automatically.

As it stands now any team member with write access can perform workflow_dispatch injection.

Solution

Update the RC creation workflow to create branches in the format release/rc-YYYYMMDD instead of rc-YYYYMMDD, ensuring they match the prerelease workflow’s release/* branch trigger and are picked up for prerelease builds.

Sanitize the input fields via Github environment variables


  • Treat all work as PUBLIC. Private feature/x branches will not be squash-merged at release time.
  • Your code changes must meet the guidelines in CONTRIBUTING.md.
  • License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

@tsmithsz tsmithsz requested a review from a team as a code owner August 12, 2025 06:52
@amazon-inspector-ohio
Copy link

⏳ I'm reviewing this pull request for security vulnerabilities and code quality issues. I'll provide an update when I'm done

@amazon-inspector-ohio
Copy link

✅ I finished the code review, and didn't find any security or code quality issues.

@tsmithsz tsmithsz changed the title chore: user release/rc-* branch naming ci: update the user release/rc-* branch naming Aug 12, 2025
@tsmithsz tsmithsz changed the title ci: update the user release/rc-* branch naming ci: update the release branch naming Aug 12, 2025
@tsmithsz tsmithsz closed this Aug 12, 2025
@tsmithsz tsmithsz reopened this Aug 12, 2025
@amazon-inspector-ohio
Copy link

⏳ I'm reviewing this pull request for security vulnerabilities and code quality issues. I'll provide an update when I'm done

@amazon-inspector-ohio
Copy link

✅ I finished the code review, and didn't find any security or code quality issues.

@tsmithsz tsmithsz changed the title ci: update the release branch naming config: update rc branch naming and sanitize input Aug 12, 2025
@tsmithsz tsmithsz merged commit f084467 into aws:master Aug 12, 2025
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants